package component.factorybean;

import entity.javabean.Product;
import org.springframework.beans.factory.FactoryBean;

/**
 * @author: ZhouBert
 * @date: 2020/8/24
 * @description:
 */
public class ProductFactoryBean implements FactoryBean<Product> {
	@Override
	public Product getObject() throws Exception {
		return new Product();
	}

	@Override
	public Class<?> getObjectType() {
		return Product.class;
	}
}
